package org.openrbac.rbac.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.openrbac.rbac.entity.Dict;
import org.openrbac.rbac.service.DictService;
import org.openrbac.rbac.mapper.DictMapper;
import org.springframework.stereotype.Service;

import java.util.List;

/**
* @author bapie
* @description 针对表【dict(数据字典)】的数据库操作Service实现
* @createDate 2024-04-03 15:37:15
*/
@Service
public class DictServiceImpl extends ServiceImpl<DictMapper, Dict>
    implements DictService{

    @Override
    public List<Dict> getDictsByNames(List<String> names) {
        return this.baseMapper.getIdsByNames(names);
    }
}




